package jk.wrapper.builder.tag;

import jk.wrapper.common.util.ClassInfo;
import jk.wrapper.filters.NodeFilter;

import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;

public class FilterNodelet extends AbstractNodelet {

	public void process(Node node) throws Exception {
		NamedNodeMap attributes = node.getAttributes();
		Node att = attributes.item(0);
		String attrName = att.getNodeName();
		String value = att.getNodeValue();
		
		Object[] params = new Object[1];
		params [0] = value;
//		state.getCurNodeFilter().add((NodeFilter)ClassInfo.create(state.getFilterMapping(attrName), params));
	}

}
